import http from '@/service/http'
import config from '../config'

const baseUrl = config.USER_ADMIN_URL
export const _postOrg = () => http.$POST(`${baseUrl}/dict/listDictDataByCondition`, {dictType: 'organization_type'})
export const _postJobs = () => http.$POST(`${baseUrl}/job/listJobByCondition`, {status: null})
export const _postLabels = () => http.$POST(`${baseUrl}/label/listLabelByCondition`, {status: null})
export const _postUserType = (status = null) => http.$POST(`${baseUrl}/dict/listDictDataByCondition`, {dictType: 'user_type', status})